<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,target-densitydpi=medium-dpi">
<title>main</title>
<link rel="stylesheet" href="../css/main.css">
<script src="../js/main.js"></script>
</head>
<body>
<%
	
	String sessionMid= (String)session.getAttribute("sessionMid");
	if(sessionMid==null){

%>
<div id="mainpage">
	<div id="title" class="menu"></div>
	<div id="login" class="menu"></div>
	<div id="guest" class="menu"></div>
	<div id="member" class="menu"></div>
	<div id="join" class="menu"></div>
	<div id="board" class="menu"></div>
	<div id="eat" class="menu"></div>
	<div id="foot" class="menu">Copyright © Group TWO  All rights reserved.</div>
</div>
<script>init();</script>
<%}else{ %>
<div id="mainpage">
	<div id="title" class="menu"></div>
	<div id="member_info" class="menu"><%=sessionMid %>님
	<input type="button" id="logout" value="로그아웃">
	</div>
	<div id="guest" class="menu"></div>
	<div id="member" class="menu"></div>
	<div id="member_manage" class="menu">회원정보 수정</div>
	<div id="board" class="menu"></div>
	<div id="eat" class="menu"></div>
	<div id="foot" class="menu">Copyright © Group TWO  All rights reserved.</div>
</div>
<script>login_main_init();</script>
<%} %>



</body>
</html>